﻿Public Class Medico
    'TODO HACER PROPIEDADES

#Region "Declaraciones"
    Private cId As Integer
    Private cNombre As String
    Private cApellido As String
    Private cNroMatricula As Integer
    Private cTipoMatriculaId As Integer
    Private cEspecialidadMedicaId As Integer
#End Region

#Region "Constructores"
    Public Sub New()
        cId = -1
        cNombre = ""
        cApellido = ""
    End Sub

    Public Sub New(ByVal pId As Integer, ByVal pNombre As String, ByVal pApellido As String, ByVal pNroMatricula As Integer, ByVal pTipoMatriculaId As Integer, ByVal pEspecialidadMedicaId As Integer)
        cId = pId
        cNombre = pNombre
        cApellido = pApellido
        cNroMatricula = pNroMatricula
        cTipoMatriculaId = pTipoMatriculaId
        cEspecialidadMedicaId = pEspecialidadMedicaId
    End Sub
#End Region

#Region "Propiedades"
    Public Property Id()
        Get
            Return cId
        End Get
        Set(ByVal value)
            cId = value
        End Set
    End Property

    Public Property Nombre()
        Get
            Return cNombre
        End Get
        Set(ByVal value)
            cNombre = value
        End Set
    End Property

    Public Property Apellido()
        Get
            Return cApellido
        End Get
        Set(ByVal value)
            cApellido = value
        End Set
    End Property

    Public Property NroMatricula()
        Get
            Return cNroMatricula
        End Get
        Set(ByVal value)
            cNroMatricula = value
        End Set
    End Property

    Public Property TipoMatriculaId()
        Get
            Return cTipoMatriculaId
        End Get
        Set(ByVal value)
            cTipoMatriculaId = value
        End Set
    End Property

    Public Property EspecialidadMedicaId()
        Get
            Return cEspecialidadMedicaId
        End Get
        Set(ByVal value)
            cEspecialidadMedicaId = value
        End Set
    End Property
#End Region
End Class
